robertlipe [Mon, 15 Jul 2013 22:55:13 +0000 (22:55 +0000)]
Expat doc fixes.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4438
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 16:47:32 +0000 (16:47 +0000)]
Update config.{guess,sub} from Automake 1.13.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4437
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 16:39:56 +0000 (16:39 +0000)]
Fix gpx test lameness.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4436
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 16:37:02 +0000 (16:37 +0000)]
More splitting of testo cases.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4435
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 16:28:18 +0000 (16:28 +0000)]
Split a whole bunch of the testo suite into smaller files.
Someday, I'll make these parallelizabe...
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4434
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 16:07:10 +0000 (16:07 +0000)]
More MSVC work.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4433
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 15 Jul 2013 02:05:25 +0000 (02:05 +0000)]
Gerhard's MSVC battle continues.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4432
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 14 Jul 2013 21:07:22 +0000 (21:07 +0000)]
Rename jeeps/gpsutil.cc->jeeps/jgpsutil.cc. No reasont to keep fighting both
MSVC and qMake over this.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4431
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 14 Jul 2013 20:52:20 +0000 (20:52 +0000)]
Rename, remove MSVC files per Gerhard.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4430
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 14 Jul 2013 20:41:58 +0000 (20:41 +0000)]
More from Gerhard:
* tpo.cc - use struct instead of parallel arrays
* MSVC update
* shapelib HAVE_CONFIG_H
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4429
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 22:58:40 +0000 (22:58 +0000)]
From Gerhard:
* gtm.cc MSVC compiler limit
Converted "else if" structure to array with the following perl snippet, so not hand coded
perl -ne 'BEGIN{$i=-1; $n=0} $t=0; if(/\bn\s*\<\s*(\d+)/){$n2=$1;} if(/indatum\s*=\s*(-?\d+).*\/\*\s*(.*)\*\//){$i=$1;$c=" : $2"; $t=1;}elsif(/\{\s*\}/){$i=-1;$c=""; $t=1;} if($t){print " ";while($n<$n2){print " $i,";$n++;}print " // < $n2$c\n"}' gtm.c.snippet
* QString toAscii() removed in Qt5.1
Replaced use of toAscii() with toLatin1() so Qt5.1 can be used with GPSBabel (commandline, GUI not tested)
Note that gtm.cc file contains "datum" patch too.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4428
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 22:14:12 +0000 (22:14 +0000)]
Fix leak in new geo reader.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4427
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 22:08:44 +0000 (22:08 +0000)]
Turn on newer geo format reader.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4426
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 21:57:34 +0000 (21:57 +0000)]
geo.cc: let it build w/o expat.
cet_util.cc: fixups for the XML_UNICODE case, needed for Windows.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4425
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 21:55:23 +0000 (21:55 +0000)]
Remove special handling of MSVC from types.h now that we can rely on a grown-up
inttypes.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4424
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 21:43:31 +0000 (21:43 +0000)]
Speed GPX writer by 19% by removing implicit time_t conversion in a test
that I'm not convinced matters anyway. ('exported' seems really weird.)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4423
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 17:26:25 +0000 (17:26 +0000)]
Update mapsend to explictly use toLatin1() instead of toAscii.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4422
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 17:23:55 +0000 (17:23 +0000)]
MSVC fixes/workarounds from Gerhard Olsson.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4421
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 03:15:38 +0000 (03:15 +0000)]
Warning fix.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4420
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Fri, 12 Jul 2013 01:21:00 +0000 (01:21 +0000)]
From Gerhard Olsson:
Three parts. The second/third part is normally inactive in the code.
gtrnctr.c
Average Cadence in laps was handled as floats with one decimal but the xml format specifies char.
Some programs therefore failed to parse the generated xml
CadenceValue_t in http://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd
jeeps
Cadence is invalid if it is 255 in Garmin USB. This is handled for track points but not for lap data.
garmin.c
(inactive) function read_lap_as_track() was not updated to the new string handling
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4419
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 10 Jul 2013 04:47:02 +0000 (04:47 +0000)]
Shave another 17% of read performance out on GPX read by eliminating a
copy/converstion on each incoming tag.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4418
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 10 Jul 2013 03:29:40 +0000 (03:29 +0000)]
Make GPX reader 9% faster just with a better hash.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4417
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 10 Jul 2013 03:03:02 +0000 (03:03 +0000)]
Performance improvements in geo reader
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4416
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 10 Jul 2013 00:14:34 +0000 (00:14 +0000)]
Fix problem in self-closing tags in GPX extensions, such as would be found in geocaches with no travel bugs
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4415
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Tue, 9 Jul 2013 01:33:42 +0000 (01:33 +0000)]
Fix GPX stream writer to actually work like a stream writer and not double-
buffer the output in memory.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4414
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 8 Jul 2013 22:33:43 +0000 (22:33 +0000)]
Don't potentitally double-quote icons in KML writer.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4413
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe@gmail.com [Mon, 8 Jul 2013 18:19:15 +0000 (18:19 +0000)]
Fix several "obvious" memory leaks in various readers. Fallout from our
half-C/half-QString implementation at this time.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4412
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 8 Jul 2013 00:24:58 +0000 (00:24 +0000)]
Mem fix in gtrnctr for last change.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4411
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 23:56:36 +0000 (23:56 +0000)]
Death to xml_fill_in_time with its weird interface. Replace with
PrettyPrinter in our DateTime except for coastexp which does its own
thing.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4410
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 21:56:23 +0000 (21:56 +0000)]
Tweak building doc for Fedora 19.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4409
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 21:50:02 +0000 (21:50 +0000)]
Enforce checks during configure time for working C++ compiler, Qt4.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4408
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 19:30:44 +0000 (19:30 +0000)]
Another try at xml_parse_time - leave the parsing to us, but delegate the
storage to QDateTime. This is ugly, but is here to coddle Centos' ancient
version of Qt (4.6.2)...
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4407
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 04:09:21 +0000 (04:09 +0000)]
Victory! (?) With this in place, GPX times before 1970 and after 2038
work just fine. Yes, this is a gross hack for OSM that I need to come back
to..
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4406
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 7 Jul 2013 03:50:17 +0000 (03:50 +0000)]
More conversion on the time_t -> QDateTime effort. Most of the GPX path
is "bigtime" safe now, I think.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4405
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 6 Jul 2013 23:21:32 +0000 (23:21 +0000)]
Remove (most of) the autoformat overrides in the KML writer and fix
our reference files to match these lovely examples of whitespace purity.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4404
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 6 Jul 2013 22:00:30 +0000 (22:00 +0000)]
Document dependency on Qt for gpsbabel.org/htmldoc-development/Source.html
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4403
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 6 Jul 2013 21:49:59 +0000 (21:49 +0000)]
Fix crash on 'gpsbabel -x'
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4402
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 6 Jul 2013 21:00:12 +0000 (21:00 +0000)]
Round, don't truncate lowrance coords on write
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4401
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 22 Jun 2013 03:10:57 +0000 (03:10 +0000)]
Tweak Garmin fit for Forerunner 10. Thanks to Ingo Arndt.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4400
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 17 Jun 2013 05:12:58 +0000 (05:12 +0000)]
Move more of times into accessors, more modern times.
Many of the remaining explicit accesses to wpt->microseconds aren't actually
using it as microseconds at all, but rather as a generic integer. :-(
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4399
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 17 Jun 2013 02:07:08 +0000 (02:07 +0000)]
A ridiculously large commit as a checkpoint in refactoring the time_t + an int
for microseconds into a QDateTime to give us sensible interface to time
beyond 1970 and 2032 and, more topically, more unified handling of sub-second
time now that 10Hz GPSes aren't uncommon.
This gets almost all of the accesses to wpt->creation_time into accessors
(with overloads for int/time_t and QDateTime) and eliminates many of
the problematic direct accesses to wpt->microseconds.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4398
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Thu, 13 Jun 2013 04:45:48 +0000 (04:45 +0000)]
Add (yet unused) addUSec shim to datetime so we can begin migrating our
explicit microsec use.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4397
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 12 Jun 2013 18:15:58 +0000 (18:15 +0000)]
Fix crash on empty navilink route name. Route names can be up to 13 chars.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4396
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 10 Jun 2013 22:49:13 +0000 (22:49 +0000)]
Remove unicsv test from gtrnctr since it (stupidly) uses local time in a reference file.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4395
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 10 Jun 2013 01:32:59 +0000 (01:32 +0000)]
Add, test code for reading speed from Garmin Training Center files as this
reportedly contains additional filtering/smoothing over pure
great-circle/timestamps as collected by GPS. (Perhaps distance is measured
by wheel sensors, for example...)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4394
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 10 Jun 2013 00:59:42 +0000 (00:59 +0000)]
Remove false const-ification from datetime overrides.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4393
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 9 Jun 2013 23:17:34 +0000 (23:17 +0000)]
Fix Ozi route reader to not treat header as routepoints.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4392
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 9 Jun 2013 23:16:41 +0000 (23:16 +0000)]
garmin_gpi: Seek to image offset in case there's additional headers in the
bmp, such as those inserted by gimp, etc.
Fix warning when compiling with debug.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4391
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 9 Jun 2013 23:05:43 +0000 (23:05 +0000)]
garmin_gpi: Seek to image offset in case there's additional headers in the
bmp, such as those inserted by gimp, etc.
Fix warning when compiling with debug.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4390
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 3 Jun 2013 03:54:56 +0000 (03:54 +0000)]
Start laying some half-hearted groundwork for rte_name to be a QString.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4389
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 3 Jun 2013 01:45:58 +0000 (01:45 +0000)]
Swap fields 3 and 4 in ozi route writer.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4388
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 3 Jun 2013 00:37:50 +0000 (00:37 +0000)]
Futile attempts to hush some of the hyperactive warnings in XCode.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4387
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 3 Jun 2013 00:23:38 +0000 (00:23 +0000)]
Move gpsutil.cc in pbxproj.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4386
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 3 Jun 2013 00:18:55 +0000 (00:18 +0000)]
Remove workaround for qmake silliness from XCode project.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4385
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 2 Jun 2013 23:59:30 +0000 (23:59 +0000)]
Overhaul KML writer to not repeat input when called multiple times on output.
Destroy QXmlStreamWriter when we close since it seems to lose its mind if
called with an emptry string which makes Earth grump about the blank line.
Add tests for all that.
Minor code cleanups.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4384
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 2 Jun 2013 23:52:45 +0000 (23:52 +0000)]
A crude stab at an XCode project.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4383
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 2 Jun 2013 19:15:26 +0000 (19:15 +0000)]
Add configlog option to Skytraq.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4382
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Thu, 30 May 2013 22:54:24 +0000 (22:54 +0000)]
Rearrange includes. inspired by, but not executed by, https://code.google.com/p/include-what-you-use/
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4381
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe@gmail.com [Wed, 1 May 2013 04:21:31 +0000 (04:21 +0000)]
Warning cleanup after last change.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4380
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 1 May 2013 04:19:45 +0000 (04:19 +0000)]
Remove same use of vmem from xmlgeneric as I just did for gpx.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4379
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 1 May 2013 03:58:55 +0000 (03:58 +0000)]
Replace easiest use of vmem, current_tag, in gpx.cc.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4378
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Wed, 1 May 2013 02:48:36 +0000 (02:48 +0000)]
Fix scaler in tpo.cc reader. Regenerate reference files.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4377
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 7 Apr 2013 22:25:11 +0000 (22:25 +0000)]
fix gcc warnings about non-local variables using anonymous types.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4376
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Tue, 2 Apr 2013 23:09:10 +0000 (23:09 +0000)]
exif fixes.
supply default speed_ref for the reader.
report undefined alt_refs in the reader.
correctly output the gps tag version tag in the writer.
use the correct value for the altitude reference tag in the writer so that negative altitudes are correctly written.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4375
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Mon, 1 Apr 2013 00:29:22 +0000 (00:29 +0000)]
Pass more const class arguements by refernces, a fix const correctness fixes, declare a few functions static to limit scope.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4374
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 31 Mar 2013 20:03:14 +0000 (20:03 +0000)]
Pass constant QStrings by reference for efficieny. A few constant correctness fixes.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4373
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sun, 31 Mar 2013 02:44:50 +0000 (02:44 +0000)]
Type fix in STREET_ADDR of style doc.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4372
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 30 Mar 2013 14:07:54 +0000 (14:07 +0000)]
more QString conversion.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4371
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 30 Mar 2013 05:14:51 +0000 (05:14 +0000)]
Final (?) pass at moving core geocaching structures to QStrings.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4370
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 30 Mar 2013 04:53:47 +0000 (04:53 +0000)]
Moving more of our core data structures to QStrings.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4369
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe@gmail.com [Sat, 30 Mar 2013 03:42:57 +0000 (03:42 +0000)]
Make valgrind happier by initializing all the things in geocahe data ctor.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4368
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 30 Mar 2013 03:25:32 +0000 (03:25 +0000)]
Treat geocache_data more like a class than a bag of bytes.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4367
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 25 Mar 2013 02:11:58 +0000 (02:11 +0000)]
Kick out almost all of the NEWTIME props.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4366
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 25 Mar 2013 02:06:13 +0000 (02:06 +0000)]
Minor cleanups in geo's new reader.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4365
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 25 Mar 2013 01:18:38 +0000 (01:18 +0000)]
QXmlStreamWriter was fun. Let's try QXmlStreamReader. Actually, for a
simple format like "geo", it plays out quite nicely.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4364
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 24 Mar 2013 20:10:50 +0000 (20:10 +0000)]
a little more cleanup of kml_mt_simple_array.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4363
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 24 Mar 2013 13:13:44 +0000 (13:13 +0000)]
set exit status on valgrind failures in vtesto to allow automated test to detect any errors.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4362
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe@gmail.com [Sun, 24 Mar 2013 05:10:54 +0000 (05:10 +0000)]
Allow running indivdual tests in vtesto.Z
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4361
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe@gmail.com [Sun, 24 Mar 2013 05:10:32 +0000 (05:10 +0000)]
Fix reference counting issues in gdb.cc and waypt.cc exposed by valgrind.Z
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4360
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 23 Mar 2013 23:01:19 +0000 (23:01 +0000)]
Reduce unnecessary suffering in KML SimpleData writer.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4359
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 23 Mar 2013 22:52:12 +0000 (22:52 +0000)]
Cleanup most of the no-brainer warnings hocked up by clang.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4358
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 23 Mar 2013 21:25:32 +0000 (21:25 +0000)]
Remove hack from GPX writer that over-aggressively quoted apostrophes. Doing
that inside a CDATA, for example, is Very Bad.
Manually edited the GPS reference files that were affected - all of which
were our own data, anyway...
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4357
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 23 Mar 2013 21:09:32 +0000 (21:09 +0000)]
Move the URL link and text from C strings to QStrings.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4356
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 23 Mar 2013 17:41:52 +0000 (17:41 +0000)]
fix booboo with hasLinkText() that can lead to segmentation faults.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4355
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 23 Mar 2013 00:16:02 +0000 (00:16 +0000)]
Replace the old kml writer with one based on QXmlStreamWriter.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4354
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 17 Mar 2013 15:06:21 +0000 (15:06 +0000)]
remove duplicate code block from r3076. only 239 more clang static analyzer errors to go.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4353
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 16 Mar 2013 14:38:06 +0000 (14:38 +0000)]
gpx writer, garminextensions option: fix bug with magic values causing extension data to be lost.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4352
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 16 Mar 2013 02:12:36 +0000 (02:12 +0000)]
gpx writer: improve schema conformance and make reasonable assumptions for garminextensions option.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4351
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 16 Mar 2013 01:20:41 +0000 (01:20 +0000)]
delete obsolete parameters in gpx_write_common_*.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4350
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Fri, 15 Mar 2013 01:51:01 +0000 (01:51 +0000)]
gpx: passthrough xmlns attributes. This resolves a bug where namespaces could be used but undeclared.
gpx: do not write schemaLocation attributes. This resolves a bug where the version referenced by schemaLocation didn't match the version we used.
gpx writer: reduce the amount of forced formatting, letting the QXmlStreamWriter formatter do its thing.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4349
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Thu, 14 Mar 2013 13:36:33 +0000 (13:36 +0000)]
reduce overwritten of temporary test files and reduce removal of files from another test.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4348
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Thu, 14 Mar 2013 00:41:32 +0000 (00:41 +0000)]
fix a few more compare order issues in the test cases.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4347
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Thu, 14 Mar 2013 00:27:23 +0000 (00:27 +0000)]
scripted correction of compare argument order in test cases.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4346
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 10 Mar 2013 19:40:23 +0000 (19:40 +0000)]
remove more forced formatting in the new gpx writer.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4345
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sun, 10 Mar 2013 18:36:26 +0000 (18:36 +0000)]
remove some forced formatting in the new gpx writer.
this required reference file changes which were manually validated.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4344
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Sat, 9 Mar 2013 21:59:21 +0000 (21:59 +0000)]
Add a test case for the gpx writer trk/extensions with chains.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4343
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Sat, 9 Mar 2013 21:45:22 +0000 (21:45 +0000)]
Pencil-whipped the remaining OLDGPX cases and convinced myself we'd delivered
parity. Removed fprintf style output totally in favor in Qt XML serializer.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4342
f51c46e8-681c-474f-0cfe-
069cfd0219fb
tsteven4 [Tue, 5 Mar 2013 13:35:41 +0000 (13:35 +0000)]
Fix gpx reader difficulty with elements that are not passed through who have parents that are.
Make fprint_xml_chain, garmin_fs_xml_fprint and gpx_write_common_extensions mutually exclusive.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4341
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Tue, 5 Mar 2013 04:50:17 +0000 (04:50 +0000)]
Remove the bulky/uncontest[ed|able] parts of OLDGPX from gpx.cc that
aren't likely to conflict with forthcoming FS/Garmin commit.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4340
f51c46e8-681c-474f-0cfe-
069cfd0219fb
robertlipe [Mon, 4 Mar 2013 17:38:44 +0000 (17:38 +0000)]
Add doc for Mapbar. Thanx, AzureSky.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4339
f51c46e8-681c-474f-0cfe-
069cfd0219fb